package com.wyu.notaryserver.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName case
 */
@TableName(value ="`case`")
@Data
public class CaseDO implements Serializable {
    /**
     * 案件表的主键
     */
    @TableId(value = "case_id", type = IdType.AUTO)
    private Integer id;

    /**
     * 案件唯一标识
     */
    @TableField(value = "case_number")
    private String caseNumber;

    /**
     * 处理该案件的公证员
     */
    @TableField(value = "notary")
    private String notary;

    /**
     * 案件处理时间
     */
    @TableField(value = "processing_time")
    private Date processingTime;

    /**
     * 案件助理
     */
    @TableField(value = "assistant")
    private String assistant;

    /**
     * 负责案件的部门
     */
    @TableField(value = "department")
    private Integer department;

    /**
     * 案件类别
     */
    @TableField(value = "category")
    private Integer category;

    /**
     * 使用地
     */
    @TableField(value = "use_place")
    private Integer usePlace;

    /**
     * 用途
     */
    @TableField(value = "purpose")
    private String purpose;

    /**
     * 案件紧急程度
     */
    @TableField(value = "urgent_degree")
    private Integer urgentDegree;

    /**
     * 公益服务
     */
    @TableField(value = "public_welfare_service")
    private Integer publicWelfareService;

    /**
     * 涉灾涉疫
     */
    @TableField(value = "is_disaster")
    private Integer isDisaster;

    /**
     * 更多
     */
    @TableField(value = "more")
    private Integer more;

    /**
     * 案件标签
     */
    @TableField(value = "case_tag")
    private Integer caseTag;

    /**
     * 群体标签
     */
    @TableField(value = "group_tag")
    private Integer groupTag;

    /**
     * 邮寄地址
     */
    @TableField(value = "post_address")
    private String postAddress;

    /**
     * 邮政编号
     */
    @TableField(value = "post_number")
    private String postNumber;

    /**
     * 收件人姓名
     */
    @TableField(value = "receiver")
    private String receiver;

    /**
     * 联系电话
     */
    @TableField(value = "contact_phone")
    private String contactPhone;

    /**
     * 联系电子邮件地址
     */
    @TableField(value = "email")
    private String email;

    /**
     * 领取公证书的地点
     */
    @TableField(value = "get_certification_place")
    private String getCertificationPlace;

    /**
     * 案件的其他备注信息
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 翻译员姓名（如适用）
     */
    @TableField(value = "translator")
    private String translator;

    /**
     * 预计发放公证书日期
     */
    @TableField(value = "predicted_license_date")
    private Date predictedLicenseDate;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}